package Clothing.dao;

import java.util.List;
import java.util.Map;

import Clothing.entity.LeaseEntity;
import Clothing.entity.LeaseForAllEntity;

public interface LeaseDao {
    int deleteByPrimaryKey(Integer leaseid);

    int insert(LeaseEntity record);

    int insertSelective(LeaseEntity record);

    LeaseEntity selectByPrimaryKey(Integer leaseid);
    
    LeaseEntity selectById(Map<String, Object> map);

    int updateByPrimaryKeySelective(LeaseForAllEntity record);

    int updateByPrimaryKey(LeaseEntity record);

    List<LeaseEntity> getAllLease(Map<String, Object> map);
    
    List<LeaseForAllEntity> getAll(Map<String, Object> map);
    
    List<LeaseForAllEntity> getAllReturn(Map<String, Object> map);
    
    List<LeaseEntity> selectLeaseById(Map<String, Object> map);
    
    List<LeaseEntity> selectReturnById(Map<String, Object> map);

    LeaseEntity selectByParams(LeaseEntity leaseEntity);
}